#include "StaticJavaLib.h"
#include "gc.h"
struct IntComplement{
};

int IntComplement_complement(int i){
  return ~i;
}

void main(int argc,char** argv){
  StaticJavaLib_assertTrue(~-5 == 4);
  StaticJavaLib_assertTrue(~4 == -5);
  StaticJavaLib_assertTrue(IntComplement_complement(-5) == 4);
  StaticJavaLib_assertTrue(IntComplement_complement(4) == -5);
  gc_recycle();
}
